rem ============================================================== rem It is recommended to test the script on a local machine for its purpose and effects. rem ManageEngine Desktop Central will not be responsible for any rem damage/loss to the data/setup based on the behavior of the script. rem Description: Prevent access to C Drive from My Computer. rem Parameters: rem Remarks: rem The script has to be deployed as User Configuration rem Configuration Type - User rem ============================================================== reg add "HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer" /v NoViewOnDrive /d 4 /t REG_DWORD /f